package com.fr.chart.marker;

import com.fr.base.core.GraphHelper;
import java.awt.Graphics2D;

public class XMarker extends Marker
{
  private static final long serialVersionUID = -2810635911387462572L;

  public void paintMarker(Graphics2D paramGraphics2D, double paramDouble1, double paramDouble2)
  {
    GraphHelper.drawLine(paramGraphics2D, paramDouble1 - this.size, paramDouble2 - this.size, paramDouble1 + this.size, paramDouble2 + this.size);
    GraphHelper.drawLine(paramGraphics2D, paramDouble1 - this.size, paramDouble2 + this.size, paramDouble1 + this.size, paramDouble2 - this.size);
  }

  public String getMarkerType()
  {
    return "XMarker";
  }
}